package org.dromara.system.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.system.domain.SysSequence;
import org.dromara.system.domain.vo.SysSequenceVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

/**
 * 序号Mapper接口
 *
 * @author yilong.fu
 * @date 2023-05-19
 */
public interface SysSequenceMapper extends BaseMapperPlus<SysSequence, SysSequenceVo> {
    /**
     * 根据SEQ名称获取序列值
     *
     * @param seqName
     * @return
     */
    Long nextval(@Param("seqName") String seqName);
}
